package com.rtx.edi.platform.jobextend.bean.bo;

import java.util.List;

import com.rtx.edi.platform.jobextend.bean.po.PlJobDetail;
import com.rtx.edi.platform.jobextend.bean.po.PlJobMapping;

/**
 * <p>
 * 定时任务
 * </p>
 *
 */
public class PlJobBo{

    private String jobName;//定时任务名称
    private String description;//定时任务描述
    private String jobGroup;//定时任务分组
    private String jobCron;//触发表达式
    private String jobType;//定时任务类型 自定义定时任务 0 api定时任务 1 insert定时任务 2
    
    private String querySql;//查询数据sql
    private String updColumn;//更新状态字段
    private String updateSql;//更新状态sql
    private Long jobId;
    
    private Long targetApiId;//调用目标apiId
    private String statusField;//是否执行成功字段
    private String successStatusValue;//执行成功值
    private List<PlJobDetail> jobDetail;
    private List<PlJobMapping> jobMapping;
    private String apiRequestTemplate;
    
    
    
	public Long getJobId() {
		return jobId;
	}
	public void setJobId(Long jobId) {
		this.jobId = jobId;
	}
	public String getApiRequestTemplate() {
		return apiRequestTemplate;
	}
	public void setApiRequestTemplate(String apiRequestTemplate) {
		this.apiRequestTemplate = apiRequestTemplate;
	}
	public List<PlJobDetail> getJobDetail() {
		return jobDetail;
	}
	public void setJobDetail(List<PlJobDetail> jobDetail) {
		this.jobDetail = jobDetail;
	}
	public List<PlJobMapping> getJobMapping() {
		return jobMapping;
	}
	public void setJobMapping(List<PlJobMapping> jobMapping) {
		this.jobMapping = jobMapping;
	}
	public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getJobGroup() {
		return jobGroup;
	}
	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}
	public String getJobCron() {
		return jobCron;
	}
	public void setJobCron(String jobCron) {
		this.jobCron = jobCron;
	}
	public String getJobType() {
		return jobType;
	}
	public void setJobType(String jobType) {
		this.jobType = jobType;
	}
	public String getQuerySql() {
		return querySql;
	}
	public void setQuerySql(String querySql) {
		this.querySql = querySql;
	}
	public String getUpdColumn() {
		return updColumn;
	}
	public void setUpdColumn(String updColumn) {
		this.updColumn = updColumn;
	}
	public String getUpdateSql() {
		return updateSql;
	}
	public void setUpdateSql(String updateSql) {
		this.updateSql = updateSql;
	}
	public Long getTargetApiId() {
		return targetApiId;
	}
	public void setTargetApiId(Long targetApiId) {
		this.targetApiId = targetApiId;
	}
	public String getStatusField() {
		return statusField;
	}
	public void setStatusField(String statusField) {
		this.statusField = statusField;
	}
	public String getSuccessStatusValue() {
		return successStatusValue;
	}
	public void setSuccessStatusValue(String successStatusValue) {
		this.successStatusValue = successStatusValue;
	}
}

